<!DOCTYPE html>
<html>
<head>
    <title>CSS UI box-sizing : Test for box-sizing: border-box</title>
    <link rel="author" title="Ryo Kashiwagi" href="mailto:kasshisatari@gmail.com">
    <link rel="help" href="http://www.w3.org/TR/css3-ui/#box-sizing">
    <link rel="match" href="border-box-001-ref.html">
    <meta name="flags" content="">
    <meta name="assert" content="box-sizing with border-box sets the width and the height of the element so that it takes padding and border widths into account.">
    <style type="text/css">

       .background {
           box-sizing: border-box;
           width: 200px;
           height: 200px;
           border:20px solid red;
           background-color: red;
           position:absolute;
           top:50px;
           left:10px;
       }
       .forward{
           width: 200px;
           height: 200px;
           background-color: green;
           position:absolute;
           top:50px;
           left:10px;
       }
    </style>
</head>
<body>
    <p>The test passes if there is only a green box.</p>
    <div class="background"></div>
    <div class="forward"></div>    
</body>
</html>
